package com.hengxinguotong.hxgtwygsp.model;

import java.util.List;

/**
 * Created by CS-Yong
 * 2019/9/3  16:24
 */
public class WeatherBean {


    /**
     * message : success感谢又拍云(upyun.com)提供CDN赞助
     * status : 200
     * date : 20190903
     * time : 2019-09-03 15:57:19
     * cityInfo : {"city":"武汉市","citykey":"101200101","parent":"湖北","updateTime":"15:01"}
     * data : {"shidu":"47%","pm25":12,"pm10":26,"quality":"优","wendu":"29","ganmao":"各类人群可自由活动","forecast":[{"date":"03","high":"高温 31℃","low":"低温 20℃","ymd":"2019-09-03","week":"星期二","sunrise":"05:59","sunset":"18:45","aqi":41,"fx":"东北风","fl":"3-4级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"04","high":"高温 31℃","low":"低温 21℃","ymd":"2019-09-04","week":"星期三","sunrise":"06:00","sunset":"18:44","aqi":88,"fx":"东北风","fl":"3-4级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"05","high":"高温 32℃","low":"低温 21℃","ymd":"2019-09-05","week":"星期四","sunrise":"06:00","sunset":"18:43","aqi":83,"fx":"北风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"06","high":"高温 33℃","low":"低温 23℃","ymd":"2019-09-06","week":"星期五","sunrise":"06:01","sunset":"18:41","aqi":80,"fx":"东北风","fl":"3-4级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"07","high":"高温 34℃","low":"低温 24℃","ymd":"2019-09-07","week":"星期六","sunrise":"06:01","sunset":"18:40","aqi":78,"fx":"东北风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"08","high":"高温 34℃","low":"低温 24℃","ymd":"2019-09-08","week":"星期日","sunrise":"06:02","sunset":"18:39","aqi":77,"fx":"东风","fl":"3-4级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"09","high":"高温 34℃","low":"低温 24℃","ymd":"2019-09-09","week":"星期一","sunrise":"06:02","sunset":"18:38","fx":"东风","fl":"4-5级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"10","high":"高温 35℃","low":"低温 25℃","ymd":"2019-09-10","week":"星期二","sunrise":"06:03","sunset":"18:36","fx":"东风","fl":"<3级","type":"小雨","notice":"雨虽小，注意保暖别感冒"},{"date":"11","high":"高温 35℃","low":"低温 25℃","ymd":"2019-09-11","week":"星期三","sunrise":"06:03","sunset":"18:35","fx":"东北风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"12","high":"高温 34℃","low":"低温 26℃","ymd":"2019-09-12","week":"星期四","sunrise":"06:04","sunset":"18:34","fx":"东北风","fl":"<3级","type":"小雨","notice":"雨虽小，注意保暖别感冒"},{"date":"13","high":"高温 35℃","low":"低温 28℃","ymd":"2019-09-13","week":"星期五","sunrise":"06:05","sunset":"18:33","fx":"北风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"14","high":"高温 35℃","low":"低温 28℃","ymd":"2019-09-14","week":"星期六","sunrise":"06:05","sunset":"18:31","fx":"东风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"15","high":"高温 35℃","low":"低温 29℃","ymd":"2019-09-15","week":"星期日","sunrise":"06:06","sunset":"18:30","fx":"东北风","fl":"3-4级","type":"小雨","notice":"雨虽小，注意保暖别感冒"},{"date":"16","high":"高温 35℃","low":"低温 27℃","ymd":"2019-09-16","week":"星期一","sunrise":"06:06","sunset":"18:29","fx":"东北风","fl":"<3级","type":"小雨","notice":"雨虽小，注意保暖别感冒"},{"date":"17","high":"高温 35℃","low":"低温 26℃","ymd":"2019-09-17","week":"星期二","sunrise":"06:07","sunset":"18:27","fx":"东北风","fl":"<3级","type":"小雨","notice":"雨虽小，注意保暖别感冒"}],"yesterday":{"date":"02","high":"高温 29℃","low":"低温 20℃","ymd":"2019-09-02","week":"星期一","sunrise":"05:58","sunset":"18:46","aqi":46,"fx":"东风","fl":"<3级","type":"阵雨","notice":"阵雨来袭，出门记得带伞"}}
     */

    private String message;
    private int status;
    private String date;
    private String time;
    private CityInfoBean cityInfo;
    private DataBean data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public CityInfoBean getCityInfo() {
        return cityInfo;
    }

    public void setCityInfo(CityInfoBean cityInfo) {
        this.cityInfo = cityInfo;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "WeatherBean{" +
                "message='" + message + '\'' +
                ", status=" + status +
                ", date='" + date + '\'' +
                ", time='" + time + '\'' +
                ", cityInfo=" + cityInfo +
                ", data=" + data +
                '}';
    }

    public static class CityInfoBean {
        /**
         * city : 武汉市
         * citykey : 101200101
         * parent : 湖北
         * updateTime : 15:01
         */

        private String city;
        private String citykey;
        private String parent;
        private String updateTime;

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCitykey() {
            return citykey;
        }

        public void setCitykey(String citykey) {
            this.citykey = citykey;
        }

        public String getParent() {
            return parent;
        }

        public void setParent(String parent) {
            this.parent = parent;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        @Override
        public String toString() {
            return "CityInfoBean{" +
                    "city='" + city + '\'' +
                    ", citykey='" + citykey + '\'' +
                    ", parent='" + parent + '\'' +
                    ", updateTime='" + updateTime + '\'' +
                    '}';
        }
    }

    public static class DataBean {
        /**
         * shidu : 47%
         * pm25 : 12.0
         * pm10 : 26.0
         * quality : 优
         * wendu : 29
         * ganmao : 各类人群可自由活动
         * forecast : [{"date":"03","high":"高温 31℃","low":"低温 20℃","ymd":"2019-09-03","week":"星期二","sunrise":"05:59","sunset":"18:45","aqi":41,"fx":"东北风","fl":"3-4级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"04","high":"高温 31℃","low":"低温 21℃","ymd":"2019-09-04","week":"星期三","sunrise":"06:00","sunset":"18:44","aqi":88,"fx":"东北风","fl":"3-4级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"05","high":"高温 32℃","low":"低温 21℃","ymd":"2019-09-05","week":"星期四","sunrise":"06:00","sunset":"18:43","aqi":83,"fx":"北风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"06","high":"高温 33℃","low":"低温 23℃","ymd":"2019-09-06","week":"星期五","sunrise":"06:01","sunset":"18:41","aqi":80,"fx":"东北风","fl":"3-4级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"07","high":"高温 34℃","low":"低温 24℃","ymd":"2019-09-07","week":"星期六","sunrise":"06:01","sunset":"18:40","aqi":78,"fx":"东北风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"08","high":"高温 34℃","low":"低温 24℃","ymd":"2019-09-08","week":"星期日","sunrise":"06:02","sunset":"18:39","aqi":77,"fx":"东风","fl":"3-4级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"09","high":"高温 34℃","low":"低温 24℃","ymd":"2019-09-09","week":"星期一","sunrise":"06:02","sunset":"18:38","fx":"东风","fl":"4-5级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"10","high":"高温 35℃","low":"低温 25℃","ymd":"2019-09-10","week":"星期二","sunrise":"06:03","sunset":"18:36","fx":"东风","fl":"<3级","type":"小雨","notice":"雨虽小，注意保暖别感冒"},{"date":"11","high":"高温 35℃","low":"低温 25℃","ymd":"2019-09-11","week":"星期三","sunrise":"06:03","sunset":"18:35","fx":"东北风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"12","high":"高温 34℃","low":"低温 26℃","ymd":"2019-09-12","week":"星期四","sunrise":"06:04","sunset":"18:34","fx":"东北风","fl":"<3级","type":"小雨","notice":"雨虽小，注意保暖别感冒"},{"date":"13","high":"高温 35℃","low":"低温 28℃","ymd":"2019-09-13","week":"星期五","sunrise":"06:05","sunset":"18:33","fx":"北风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"14","high":"高温 35℃","low":"低温 28℃","ymd":"2019-09-14","week":"星期六","sunrise":"06:05","sunset":"18:31","fx":"东风","fl":"<3级","type":"多云","notice":"阴晴之间，谨防紫外线侵扰"},{"date":"15","high":"高温 35℃","low":"低温 29℃","ymd":"2019-09-15","week":"星期日","sunrise":"06:06","sunset":"18:30","fx":"东北风","fl":"3-4级","type":"小雨","notice":"雨虽小，注意保暖别感冒"},{"date":"16","high":"高温 35℃","low":"低温 27℃","ymd":"2019-09-16","week":"星期一","sunrise":"06:06","sunset":"18:29","fx":"东北风","fl":"<3级","type":"小雨","notice":"雨虽小，注意保暖别感冒"},{"date":"17","high":"高温 35℃","low":"低温 26℃","ymd":"2019-09-17","week":"星期二","sunrise":"06:07","sunset":"18:27","fx":"东北风","fl":"<3级","type":"小雨","notice":"雨虽小，注意保暖别感冒"}]
         * yesterday : {"date":"02","high":"高温 29℃","low":"低温 20℃","ymd":"2019-09-02","week":"星期一","sunrise":"05:58","sunset":"18:46","aqi":46,"fx":"东风","fl":"<3级","type":"阵雨","notice":"阵雨来袭，出门记得带伞"}
         */

        private String shidu;
        private double pm25;
        private double pm10;
        private String quality;
        private String wendu;
        private String ganmao;
        private YesterdayBean yesterday;
        private List<ForecastBean> forecast;

        public String getShidu() {
            return shidu;
        }

        public void setShidu(String shidu) {
            this.shidu = shidu;
        }

        public double getPm25() {
            return pm25;
        }

        public void setPm25(double pm25) {
            this.pm25 = pm25;
        }

        public double getPm10() {
            return pm10;
        }

        public void setPm10(double pm10) {
            this.pm10 = pm10;
        }

        public String getQuality() {
            return quality;
        }

        public void setQuality(String quality) {
            this.quality = quality;
        }

        public String getWendu() {
            return wendu;
        }

        public void setWendu(String wendu) {
            this.wendu = wendu;
        }

        public String getGanmao() {
            return ganmao;
        }

        public void setGanmao(String ganmao) {
            this.ganmao = ganmao;
        }

        public YesterdayBean getYesterday() {
            return yesterday;
        }

        public void setYesterday(YesterdayBean yesterday) {
            this.yesterday = yesterday;
        }

        public List<ForecastBean> getForecast() {
            return forecast;
        }

        public void setForecast(List<ForecastBean> forecast) {
            this.forecast = forecast;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "shidu='" + shidu + '\'' +
                    ", pm25=" + pm25 +
                    ", pm10=" + pm10 +
                    ", quality='" + quality + '\'' +
                    ", wendu='" + wendu + '\'' +
                    ", ganmao='" + ganmao + '\'' +
                    ", yesterday=" + yesterday +
                    ", forecast=" + forecast +
                    '}';
        }
    }


    public static class ForecastBean {
        /**
         * date : 03
         * high : 高温 31℃
         * low : 低温 20℃
         * ymd : 2019-09-03
         * week : 星期二
         * sunrise : 05:59
         * sunset : 18:45
         * aqi : 41
         * fx : 东北风
         * fl : 3-4级
         * type : 多云
         * notice : 阴晴之间，谨防紫外线侵扰
         */

        private String date;
        private String high;
        private String low;
        private String ymd;
        private String week;
        private String sunrise;
        private String sunset;
        private int aqi;
        private String fx;
        private String fl;
        private String type;
        private String notice;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getHigh() {
            return high;
        }

        public void setHigh(String high) {
            this.high = high;
        }

        public String getLow() {
            return low;
        }

        public void setLow(String low) {
            this.low = low;
        }

        public String getYmd() {
            return ymd;
        }

        public void setYmd(String ymd) {
            this.ymd = ymd;
        }

        public String getWeek() {
            return week;
        }

        public void setWeek(String week) {
            this.week = week;
        }

        public String getSunrise() {
            return sunrise;
        }

        public void setSunrise(String sunrise) {
            this.sunrise = sunrise;
        }

        public String getSunset() {
            return sunset;
        }

        public void setSunset(String sunset) {
            this.sunset = sunset;
        }

        public int getAqi() {
            return aqi;
        }

        public void setAqi(int aqi) {
            this.aqi = aqi;
        }

        public String getFx() {
            return fx;
        }

        public void setFx(String fx) {
            this.fx = fx;
        }

        public String getFl() {
            return fl;
        }

        public void setFl(String fl) {
            this.fl = fl;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getNotice() {
            return notice;
        }

        public void setNotice(String notice) {
            this.notice = notice;
        }

        @Override
        public String toString() {
            return "ForecastBean{" +
                    "date='" + date + '\'' +
                    ", high='" + high + '\'' +
                    ", low='" + low + '\'' +
                    ", ymd='" + ymd + '\'' +
                    ", week='" + week + '\'' +
                    ", sunrise='" + sunrise + '\'' +
                    ", sunset='" + sunset + '\'' +
                    ", aqi=" + aqi +
                    ", fx='" + fx + '\'' +
                    ", fl='" + fl + '\'' +
                    ", type='" + type + '\'' +
                    ", notice='" + notice + '\'' +
                    '}';
        }
    }


    public static class YesterdayBean {
        /**
         * date : 02
         * high : 高温 29℃
         * low : 低温 20℃
         * ymd : 2019-09-02
         * week : 星期一
         * sunrise : 05:58
         * sunset : 18:46
         * aqi : 46
         * fx : 东风
         * fl : <3级
         * type : 阵雨
         * notice : 阵雨来袭，出门记得带伞
         */

        private String date;
        private String high;
        private String low;
        private String ymd;
        private String week;
        private String sunrise;
        private String sunset;
        private int aqi;
        private String fx;
        private String fl;
        private String type;
        private String notice;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getHigh() {
            return high;
        }

        public void setHigh(String high) {
            this.high = high;
        }

        public String getLow() {
            return low;
        }

        public void setLow(String low) {
            this.low = low;
        }

        public String getYmd() {
            return ymd;
        }

        public void setYmd(String ymd) {
            this.ymd = ymd;
        }

        public String getWeek() {
            return week;
        }

        public void setWeek(String week) {
            this.week = week;
        }

        public String getSunrise() {
            return sunrise;
        }

        public void setSunrise(String sunrise) {
            this.sunrise = sunrise;
        }

        public String getSunset() {
            return sunset;
        }

        public void setSunset(String sunset) {
            this.sunset = sunset;
        }

        public int getAqi() {
            return aqi;
        }

        public void setAqi(int aqi) {
            this.aqi = aqi;
        }

        public String getFx() {
            return fx;
        }

        public void setFx(String fx) {
            this.fx = fx;
        }

        public String getFl() {
            return fl;
        }

        public void setFl(String fl) {
            this.fl = fl;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getNotice() {
            return notice;
        }

        public void setNotice(String notice) {
            this.notice = notice;
        }

        @Override
        public String toString() {
            return "YesterdayBean{" +
                    "date='" + date + '\'' +
                    ", high='" + high + '\'' +
                    ", low='" + low + '\'' +
                    ", ymd='" + ymd + '\'' +
                    ", week='" + week + '\'' +
                    ", sunrise='" + sunrise + '\'' +
                    ", sunset='" + sunset + '\'' +
                    ", aqi=" + aqi +
                    ", fx='" + fx + '\'' +
                    ", fl='" + fl + '\'' +
                    ", type='" + type + '\'' +
                    ", notice='" + notice + '\'' +
                    '}';
        }
    }
}